Properties
- AllowEdit
Used to completely
disable any editing of the property list.
- BackColor
Returns/sets the background color of the control.
Can be a literal color or a system color constant.
- BorderStyle
Returns/sets whether the control has a 3D border
around it.
- Enabled
Returns/sets whether the control can respond to
user-generated events.
- Font
Returns/sets the font that is used to paint the
list's collection of items.
- FontHeader
Returns/sets the font that is used to paint header type items in the list.
- ForeColor
Returns/sets the control's text color for
unselected items.
- HighlightColor
Returns/sets the color of the rectangle used
to indicate the currently selected item.
- HighlightText
Returns/sets the color of the text for
the currently selected item.
- HoldDraw
Determines whether the control will
paint itself.
- hWnd
Read-only. Returns the window handle
for the property list control.
- Item
Usage (get):
sValue = prplst.Item(index)
Usage (let):
prplst.Item(index) = sValue
Returns/sets the string displayed in the left-hand column
of the property list control.
- ItemData
Usage (get):
vValue = prplst.ItemData(index)
Usage (let):
prplst.ItemData(index) = vValue
Returns/sets a user-defined value for the specified item.
- ItemType
Usage (get):
nValue = prplst.ItemType(index)
Usage (let):
prplst.ItemType(index) = nValue
Returns/sets the display/functional type of the specified item.
- ListCount
Read-only. Returns the number of items in the list.
- LongestItem
Read-only. Returns the width, in
Twips, of the longest item in the
first column.
- MouseIcon
Sets a custom mouse cursor for the control.
- MousePointer
Returns/sets the type of mouse pointer displayed
when over the control.
- ReadOnly
Returns/sets whether the specified item can
be edited by the user.
- Selected
Returns/sets the index of the currently
selected item in the list.
- TextFalse
Returns/sets the string to display
in a Boolean-valued item when the
value is False.
- TextTrue
Returns/sets the string to display
in a Boolean-valued item when the
value is True.
- TopIndex
Returns/sets the scrollbar's thumb
position to display the specified item
as the first in the list.
- Value
Usage (get):
sValue = prplst.Value(index)
Usage (let):
prplst.Value(index) = sValue
Returns/sets the string displayed in the right-hand column
of the property list control.